package com.cskaoyan.order.openFeign;

import com.cskaoyan.mall.commons.result.ResponseData;
import com.cskaoyan.mall.dto.ClearCartItemRequest;
import com.cskaoyan.mall.dto.ClearCartItemServiceResponse;
import com.cskaoyan.order.biz.Bean.CartHandlerBO;
import com.cskaoyan.order.biz.Bean.CartRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author wxgl
 * @date 2023-01-10 20:43
 * @describe
 */
@FeignClient("duolai-shopping")
public interface MyOpenFeign {

    @DeleteMapping(value = "clear/carts")
    ClearCartItemServiceResponse clearCartItemByUserID(@RequestBody ClearCartItemRequest request);

}
